package com.igoal.dao;

import java.util.List;

import com.igoal.entity.Message;

public interface MessageDAO extends GenericDao<Message, Long> {

	List<Message> getReceivedMessage(Long userId);

	List<Message> getSentMessage(Long userId);
	
	List<Message> getMessage(Long userId, boolean read);

}
